package de.gruessing.gwtsports.shared.mappeddata.tcdata;

import java.util.ArrayList;

import com.google.gwt.user.client.rpc.IsSerializable;

public class ActivityDTO implements IsSerializable
{
  protected String id;
  protected ArrayList<ActivityLapDTO> lap;
  protected String notes;
  protected TrainingDTO training;
  protected SourceDTO creator;
  protected ExtensionsDTO extensions;
  protected SportDTO sport;
  
  public ActivityDTO()
  {
  	
  }
  
  public String getId() {
      return id;
  }
  
  public void setId(String value) {
      this.id = value;
  }
  
  public void setLap( ArrayList<ActivityLapDTO> in_xLap )
  {
  	lap = in_xLap;
  }

  public ArrayList<ActivityLapDTO> getLap() {
      if (lap == null) {
          lap = new ArrayList<ActivityLapDTO>();
      }
      return this.lap;
  }

  public String getNotes() {
      return notes;
  }

  public void setNotes(String value) {
      this.notes = value;
  }

  public TrainingDTO getTraining() {
      return training;
  }

  public void setTraining(TrainingDTO value) {
      this.training = value;
  }

  public SourceDTO getCreator() {
      return creator;
  }

  public void setCreator(SourceDTO value) {
      this.creator = value;
  }

  public ExtensionsDTO getExtensions() {
      return extensions;
  }

  public void setExtensions(ExtensionsDTO value) {
      this.extensions = value;
  }

  public SportDTO getSport() {
      return sport;
  }

  public void setSport(SportDTO value) {
      this.sport = value;
  }
}
